/**
 * Candidate number: 35834
 */
package tv.starfu.sequencer.model;

import com.artemis.Component;
import java.util.ArrayList;
import java.util.TreeMap;

/**
 * Converts a Pattern to a list of Components, sorted by Time(Vector).
 * Assign each Channel to a Component.
 * @author niadzi
 */
public class Sequence {
    private Pattern pattern;
    private Instrument instrument;
    
    public Sequence(Pattern p, Instrument i) {
        this.pattern = p;
        this.instrument = i;
    }
    // Track provides all data needed for entity creation.
   // private TreeMap <Integer, ArrayList<Component>> track;
    
    /**
     * Get channel[]...
     * Get channel Instrument (String)
     * at step[0], create new Entity ->
     *                        
     */
    
    
    /* Go through each Step in Pattern.
     * For each Step, if step[0] == 1 then create a new Entity...
     * 
     */
}
